]> snippets.scripts.mit.edu Git - Scripts/git/.git/blobdiff - sipbmp3-itunes.bak/sipbmp3 - Toggle Mute.applescript
Changed the sipbmp3-itunes folder into a submodule, so that the repo can reside in...
[Scripts/git/.git] / sipbmp3-itunes.bak / sipbmp3 - Toggle Mute.applescript
diff --git a/sipbmp3-itunes.bak/sipbmp3 - Toggle Mute.applescript b/sipbmp3-itunes.bak/sipbmp3 - Toggle Mute.applescript
new file mode 100644 (file)
index 0000000..15838c6
--- /dev/null
@@ -0,0 +1,20 @@
+-- -----------------
+-- iTunes -> sipbmp3
+-- -----------------
+
+-- Changelog:
+-- 10 Nov 2009 -> pquimby created initial version
+
+-- Installation:
+-- For installation instructions see the INSTALL file in the snippets/sipbmp3-iTunes folder--
+
+-- Usage:
+--
+-- Running this script will toggle the mute on sipbmp3 on or off.
+
+tell application "iTunes"
+       set vol to sound volume
+end tell
+
+set command to "/usr/local/bin/remctl zsr volume set " & vol
+do shell script command
\ No newline at end of file